-- GENERATED SPELL FOR [Shoveltusk Calf] --


function spell0_24791(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(42320,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24791', 3343, 1)
end

function Sorts_24791(pUnit, Event)
local choix_sorts_24791 = math.random(0, 0)
if choix_sorts_24791 == 0 then
pUnit:RegisterEvent('spell0_24791', 1, 1)
end
end

function mob24791_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24791', math.random(1500, 3000), 1)
end

function mob24791_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24791_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24791_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24791, 1, 'mob24791_Action')
RegisterUnitEvent(24791, 2, 'mob24791_Leave')
RegisterUnitEvent(24791, 3, 'mob24791_Kill')
RegisterUnitEvent(24791, 4, 'mob24791_Die')
